cmake_minimum_required(VERSION 3.22)

project(dui_test)
add_definitions(-DUNICODE -D_UNICODE -DUILIB_STATIC)

add_compile_options(/MTd)
add_link_options(/SUBSYSTEM:WINDOWS)

include_directories(D:/Opensource/DuiLib_Ultimate/DuiLib)
link_directories(.)

file(GLOB_RECURSE code "*.cpp")
add_executable(dui_test ${code})
target_link_libraries(dui_test DuiLib_d.lib)